﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ShopOnline
{
    public class ProductInCart
    {
        private int productID;
        private string productName;
        private int ammount;
        private decimal price;

        public int ProductID
        {
            get { return productID; }
            set { productID = value; }
        }       

        public string ProductName
        {
            get { return productName; }
            set { productName = value; }
        }
        
        public int Ammount
        {
            get { return ammount; }
            set { ammount = value; }
        }
        
        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        public ProductInCart(int productId, string productName, int ammount, decimal price)
        {
            this.productID = productId;
            this.productName = productName;
            this.ammount = ammount;
            this.price = price;
        }
    }
}
